﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class Flag
    {


        /*
    ** Possible values for the sqlite3.flags.
    */
        //#define SQLITE_VdbeTrace      0x00000100  /* True to trace VDBE execution */
        //#define SQLITE_InternChanges  0x00000200  /* Uncommitted Hash table changes */
        //#define SQLITE_FullColNames   0x00000400  /* Show full column names on SELECT */
        //#define SQLITE_ShortColNames  0x00000800  /* Show short columns names */
        //#define SQLITE_CountRows      0x00001000  /* Count rows changed by INSERT, */
        //                                          /*   DELETE, or UPDATE and return */
        //                                          /*   the count using a callback. */
        //#define SQLITE_NullCallback   0x00002000  /* Invoke the callback once if the */
        //                                          /*   result set is empty */
        //#define SQLITE_SqlTrace       0x00004000  /* Debug print SQL as it executes */
        //#define SQLITE_VdbeListing    0x00008000  /* Debug listings of VDBE programs */
        //#define SQLITE_WriteSchema    0x00010000  /* OK to update SQLITE_MASTER */
        //#define SQLITE_NoReadlock     0x00020000  /* Readlocks are omitted when 
        //                                          ** accessing read-only databases */
        //#define SQLITE_IgnoreChecks   0x00040000  /* Do not enforce check constraints */
        //#define SQLITE_ReadUncommitted 0x0080000  /* For shared-cache mode */
        //#define SQLITE_LegacyFileFmt  0x00100000  /* Create new databases in format 1 */
        //#define SQLITE_FullFSync      0x00200000  /* Use full fsync on the backend */
        //#define SQLITE_LoadExtension  0x00400000  /* Enable load_extension */
        //#define SQLITE_RecoveryMode   0x00800000  /* Ignore schema errors */
        //#define SQLITE_ReverseOrder   0x01000000  /* Reverse unordered SELECTs */
        //#define SQLITE_RecTriggers    0x02000000  /* Enable recursive triggers */
        //#define SQLITE_ForeignKeys    0x04000000  /* Enforce foreign key constraints  */
        public const int SQLITE_VdbeTrace = 0x00000100; /* True to trace VDBE execution */
        public const int SQLITE_InternChanges = 0x00000200; /* Uncommitted Hash table changes */
        public const int SQLITE_FullColNames = 0x00000400; /* Show full column names on SELECT */
        public const int SQLITE_ShortColNames = 0x00000800; /* Show short columns names */
        public const int SQLITE_CountRows = 0x00001000; /* Count rows changed by INSERT, */
        /*   DELETE, or UPDATE and return */
        /*   the count using a callback. */
        public const int SQLITE_NullCallback = 0x00002000; /* Invoke the callback once if the */
        /*   result set is empty */
        public const int SQLITE_SqlTrace = 0x00004000; /* Debug print SQL as it executes */
        public const int SQLITE_VdbeListing = 0x00008000; /* Debug listings of VDBE programs */
        public const int SQLITE_WriteSchema = 0x00010000; /* OK to update SQLITE_MASTER */

        public const int SQLITE_NoReadlock = 0x00020000;
        /* Readlocks are omitted when 
            ** accessing read-only databases */

        public const int SQLITE_IgnoreChecks = 0x00040000; /* Do not enforce check constraints */
        public const int SQLITE_ReadUncommitted = 0x0080000; /* For shared-cache mode */
        public const int SQLITE_LegacyFileFmt = 0x00100000; /* Create new databases in format 1 */
        public const int SQLITE_FullFSync = 0x00200000; /* Use full fsync on the backend */
        public const int SQLITE_LoadExtension = 0x00400000; /* Enable load_extension */
        public const int SQLITE_RecoveryMode = 0x00800000; /* Ignore schema errors */
        public const int SQLITE_ReverseOrder = 0x01000000; /* Reverse unordered SELECTs */
        public const int SQLITE_RecTriggers = 0x02000000; /* Enable recursive triggers */
        public const int SQLITE_ForeignKeys = 0x04000000; /* Enforce foreign key constraints  */

    }
}
